﻿<!doctype html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>哟哈微博客户端移动版(Android,IPhone,IPad)</title>
		<link rel="icon" href="/app/view/resources/images/favicon.ico">
		<link rel="stylesheet" href="/app/view/resources/style/app.css">
		<!-- Styles -->
		<link rel="stylesheet" href="/lib/sencha/resources/css/sencha-touch.css">
		<link rel="stylesheet" href="/app/view/resources/style/app.css">
		<link rel="stylesheet" href="/app/view/resources/style/ux/menu-sheet.css">
		<link rel="stylesheet" href="/app/view/resources/style/ux/select-button.css">
		<link rel="stylesheet" href="/app/view/resources/style/icon.css">
	</head>
	<body>
		<noscript>
			<div class="noscript">
				您好，Yoha!需要浏览器开启JavaScript功能。<br/>
				请设置浏览器开启 JavaScript功能，然后重试。
			</div>
		</noscript>
		<div id="starting">
			<div id="starting-logo"></div>
			<div id="starting-text">Yoha! Starting...</div>
			<div id="starting-bar">
				<div id="starting-bar-tag"></div>
			</div>
			<script>
				(function(){
					//检测游览器类型
					if(navigator.appVersion && navigator.appVersion.indexOf('WebKit') == -1){
						window.location.replace('error.html');
						return;
					}
					var setSplashSize = function(){
						var loading = document.getElementById('starting');
						if(loading){
							var loadingStyle = loading.style;
							loadingStyle.width = window.innerWidth + 'px';
							loadingStyle.height = window.innerHeight +'px';
						}else{
							window.removeEventListener('resize',setSplashSize,false);
							setSplashSize = null;
						}
					};
					window.addEventListener('resize', setSplashSize , false);
					setSplashSize();
				})();
			</script>
		</div>
		<!-- Lib -->
		<script src="lib/sencha/sencha-touch.js"></script>
		<script src="lib/oauth/sha1.js"></script>
		<script src="lib/oauth/oauth.js"></script>
		<!-- Application -->
		<script src="app/App.js"></script>
		<!-- Models -->
		<script src="app/model/UserModel.js"></script>
		<script src="app/model/UserListModel.js"></script>
		<!-- Views -->
		<script src="app/view/Viewport.js"></script>
		<script src="app/view/MessageManager.js"></script>
		<script src="app/view/Timeline.js"></script>
		<script src="app/view/user/UserManager.js"></script>
		<script src="app/view/user/UserList.js"></script>
		<script src="app/view/user/AddUser.js"></script>
		<script src="app/view/user/UserInfo.js"></script>
		<script src="app/view/ux/MenuSheet.js"></script>
		<script src="app/view/ux/SelectButton.js"></script>
		<script src="app/view/user/OAuthPage.js"></script>
		<!-- Controllers -->
		<script src="app/controller/Controller.js"></script>
		<script src="app/controller/ViewController.js"></script>
		<script src="app/controller/UserManagerController.js"></script>
		<script src="app/controller/OAuthController.js"></script>
		<script src="app/controller/MessageManagerController.js"></script>
		<!-- Stores -->
		<script src="app/store/ToggleNLStore.js"></script>
		<script src="app/store/UserManageStore.js"></script>
		<script src="app/store/TimelineStore.js"></script>
	</body>
</html>